#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
class myhread;

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();


public:
    void updateUi(QString data);

private slots:
    void on_startBtn_clicked();

    void on_stopBtn_clicked();

    void on_unLockBtn_clicked();

private:
    myhread *UiTh;
    Ui::Widget *ui;

};

#endif // WIDGET_H
